package com.duzq.enums;

/**
 * 会员 enums
 * @author duzq
 * @date 2021-03-24 14:51:45
 */
public class UserEnums {
    public enum UserStatus {
        $10("10", "待审批"),
        $20("20", "审批中"),
        $30("30", "审批通过"),
        $40("30", "审批驳回"),
        ;
        /**
         * 数据库中存的值集KEY
         */
        public static final String ENUM_TYPE = "USER_STATUS";

        /** Code 编码 */
        private String code;
        /** Code 编码名称 */
        private String desc;

        UserStatus(String code, String desc) {
            this.code = code;
            this.desc = desc;
        }

        public String getCode() {
            return code;
        }

        public String getDesc() {
            return desc;
        }
    }
}
